/* 
 * File:   laplace.h
 * Author: boyan
 *
 * Created on January 23, 2008, 5:25 PM
 */

#ifndef _LAPLACE_H
#define	_LAPLACE_H

#include "glodef.h"
#include "grid3d.h"
#include "vecs.h"

#ifdef	__cplusplus
extern "C" {
#endif

    void ReassembleLaplace(void *ldata);
    void *InitLaplace(grid3d_t *grid, unsigned eltype);
    void DoneLaplace(void *ldata);
    void SolveLaplace_scalar(void *ldata, scalar U, scalar F, scalar T,
            unsigned F_tested, unsigned reassemble);
    void SolveLaplace_vector(void *ldata, vector U, vector F, vector T,
            unsigned F_tested, unsigned reassemble);





#ifdef	__cplusplus
}
#endif

#endif	/* _LAPLACE_H */

